Ext.define('wmf.view.home.center', {
    extend: 'Ext.tab.Panel',
    alias: 'widget.mainCenter',
    requires: [
        'Ext.ux.TabCloseMenu'
    ],
    frame: true,
    stateful: true,
    stateId: 'center',
    cls: 'n-main-header',
    border: false,
    bodyBorder: false,
    plain: true,
    margins : '0 4 4 0',
    activeTab: 0,
    items: [{
            xtype: 'homepage',
            stateful: true,
            stateId: 'homepage',
            closable: false,
            title: trans.home.homePage
    }],

    plugins: {
        ptype: 'tabclosemenu',
        closeAllTabsText: trans.home.closeAllTabsText,
        closeOthersTabsText: trans.home.closeOthersTabsText,
        closeTabText: trans.home.closeTabText
    }
});